#ifndef _PBVP_VERTEX_INFO_H
#define _PBVP_VERTEX_INFO_H

#include <vector>

namespace PBVP {
	/// Connectivity infomation of a vertex in a triangular mesh
	class VertexInfo {
	public:
		///
		VertexInfo();

		///
		void addFaceNeighbor(int n);
		
		///
		void addVertNeighbor(int n);

		///
		int getFaceNeighbor(int n);

		///
		int getVertNeighbor(int n);

	public:
		/// Number of triangles at this vertex
		int face_valence;
		/// Number of edges at this vertex
		int edge_valence;
		///
		std::vector<int> tri_neighbors;
		///
		std::vector<int> vrt_neighbors;
	};
}
#endif
